<select class="field" name="<?php p(v('fieldName')); ?>">
	<option value="">---</option>
	<?php

	$fieldValues = v('fieldValues');

	if (is_array($fieldValues) === true)
	{
		foreach ($fieldValues as $fieldKey => $fieldValue)
		{
			if ($fieldKey == v('fieldValue'))
			{
				$selected = 'selected="selected"';
			}
			else
			{
				$selected = null;
			}

	?>
	<option value="<?php p($fieldKey); ?>" <?php p($selected, FORMAT_RAW); ?>><?php p($fieldValue); ?></option>
	<?php

		}
	}

	?>
</select>
